home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0295.lzh / AMOSLIST / text0037.txt < prev    next >
Encoding:
Text File  |  1995-03-01  |  627 b   |  21 lines

  1. > Giday all,
  2. > just looking for some help in writing a tetris game. The bit I'd like  some
  3. > help with is how you would check to see if the block had hit another 
  4. > block and so on.
  5. > Any help would be much appreciated.
  6. > Ben Crowl
  7.  
  8. A quick and easy way is to turn on elements in a 2d arraywhere the blocks
  9. are. If the array cheking is too slow, you could allocate a bank, and peek
  10. and poke into it according to offsets depending on the size of your drop
  11. area. I've never actually written a tetris game, this is just my first reaction to
  12. your problem without giving it a lot of thought :-) C-ya
  13.                                 -Jedon
  14.  
  15.  
  16.